/*
 * Ext JS Library 1.1.1
 * Copyright(c) 2006-2007, Ext JS, LLC.
 * licensing@extjs.com
 * 
 * http://www.extjs.com/license
 */

.x-tree-icon, .x-tree-ec-icon, .x-tree-elbow-line, .x-tree-elbow, .x-tree-elbow-end, .x-tree-elbow-plus, .x-tree-elbow-minus, .x-tree-elbow-end-plus, .x-tree-elbow-end-minus {
  border: 0 none;
  height: 18px;
  margin: 0;
  padding: 0;
  vertical-align: middle;
  width: 16px;
  background-repeat: no-repeat;
}

.x-tree-node-collapsed .x-tree-node-icon, .x-tree-node-expanded .x-tree-node-icon, .x-tree-node-leaf .x-tree-node-icon {
  border: 0 none;
  height: 18px;
  margin: 0;
  padding: 0;
  vertical-align: middle;
  width: 16px;
  background-position: center;
  background-repeat: no-repeat;
}

/* some default icons for leaf/folder */
.x-tree-node-collapsed .x-tree-node-icon {
  background-image: url( ../images/default/tree/folder.gif );
}

.x-tree-node-expanded .x-tree-node-icon {
  background-image: url( ../images/default/tree/folder-open.gif );
}

.x-tree-node-leaf .x-tree-node-icon {
  background-image: url( ../images/default/tree/leaf.gif );
}

/* checkboxes */
.ext-ie input.x-tree-node-cb {
  width: 15px;
  height: 15px;
}

input.x-tree-node-cb {
  margin-left: 1px;
}

.ext-ie input.x-tree-node-cb {
  margin-left: 0;
}

.x-tree-noicon .x-tree-node-icon {
  width: 0;
  height: 0;
}

/* loading icon */
.x-tree-node-loading .x-tree-node-icon {
  background-image: url( ../images/default/tree/loading.gif ) !important;
}

.x-tree-node-loading a span {
  font-style: italic;
  color: #444444;
}

/* Line styles */
.x-tree-lines .x-tree-elbow {
  background-image: url( ../images/default/tree/elbow.gif );
}

.x-tree-lines .x-tree-elbow-plus {
  background-image: url( ../images/default/tree/elbow-plus.gif );
}

.x-tree-lines .x-tree-elbow-minus {
  background-image: url( ../images/default/tree/elbow-minus.gif );
}

.x-tree-lines .x-tree-elbow-end {
  background-image: url( ../images/default/tree/elbow-end.gif );
}

.x-tree-lines .x-tree-elbow-end-plus {
  background-image: url( ../images/default/tree/elbow-end-plus.gif );
}

.x-tree-lines .x-tree-elbow-end-minus {
  background-image: url( ../images/default/tree/elbow-end-minus.gif );
}

.x-tree-lines .x-tree-elbow-line {
  background-image: url( ../images/default/tree/elbow-line.gif );
}

/* No line styles */
.x-tree-no-lines .x-tree-elbow {
  background: transparent;
}

.x-tree-no-lines .x-tree-elbow-plus {
  background-image: url( ../images/default/tree/elbow-plus-nl.gif );
}

.x-tree-no-lines .x-tree-elbow-minus {
  background-image: url( ../images/default/tree/elbow-minus-nl.gif );
}

.x-tree-no-lines .x-tree-elbow-end {
  background: transparent;
}

.x-tree-no-lines .x-tree-elbow-end-plus {
  background-image: url( ../images/default/tree/elbow-end-plus-nl.gif );
}

.x-tree-no-lines .x-tree-elbow-end-minus {
  background-image: url( ../images/default/tree/elbow-end-minus-nl.gif );
}

.x-tree-no-lines .x-tree-elbow-line {
  background: transparent;
}

.x-tree-elbow-plus, .x-tree-elbow-minus, .x-tree-elbow-end-plus, .x-tree-elbow-end-minus {
  cursor: pointer;
}

.ext-ie ul.x-tree-node-ct {
  font-size: 0;
  line-height: 0;
}

.x-tree-node {
  color: black;
  font: normal 11px arial, tahoma, helvetica, sans-serif;
  white-space: nowrap;
}

.x-tree-node a, .x-dd-drag-ghost a {
  text-decoration: none;
  color: black;
  -khtml-user-select: none;
  -moz-user-select: none;
  -kthml-user-focus: normal;
  -moz-user-focus: normal;
  -moz-outline: 0 none;
  outline: 0 none;
}

.x-tree-node a span, .x-dd-drag-ghost a span {
  text-decoration: none;
  color: black;
  padding: 1px 3px 1px 2px;
}

.x-tree-node .x-tree-node-disabled a span {
  color: gray !important;
}

.x-tree-node .x-tree-node-disabled .x-tree-node-icon {
  -moz-opacity: 0.5;
  opacity: .5;
  filter: alpha( opacity = 50 );
}

.x-tree-node .x-tree-node-inline-icon {
  background: transparent;
}

.x-tree-node a:hover, .x-dd-drag-ghost a:hover {
  text-decoration: none;
}

.x-tree-node div.x-tree-drag-insert-below {
  border-bottom: 1px dotted #3366cc;
}

.x-tree-node div.x-tree-drag-insert-above {
  border-top: 1px dotted #3366cc;
}

.x-tree-dd-underline .x-tree-node div.x-tree-drag-insert-below {
  border-bottom: 0 none;
}

.x-tree-dd-underline .x-tree-node div.x-tree-drag-insert-above {
  border-top: 0 none;
}

.x-tree-dd-underline .x-tree-node div.x-tree-drag-insert-below a {
  border-bottom: 2px solid #3366cc;
}

.x-tree-dd-underline .x-tree-node div.x-tree-drag-insert-above a {
  border-top: 2px solid #3366cc;
}

.x-tree-node .x-tree-drag-append a span {
  background: #dddddd;
  border: 1px dotted gray;
}

.x-tree-node .x-tree-selected a span {
  background: #3366cc;
  color: white;
}

.x-dd-drag-ghost .x-tree-node-indent, .x-dd-drag-ghost .x-tree-ec-icon {
  display: none !important;
}

.x-tree-drop-ok-append .x-dd-drop-icon {
  background-image: url( ../images/default/tree/drop-add.gif );
}

.x-tree-drop-ok-above .x-dd-drop-icon {
  background-image: url( ../images/default/tree/drop-over.gif );
}

.x-tree-drop-ok-below .x-dd-drop-icon {
  background-image: url( ../images/default/tree/drop-under.gif );
}

.x-tree-drop-ok-between .x-dd-drop-icon {
  background-image: url( ../images/default/tree/drop-between.gif );
}
